<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>layout 后台大布局 - Layui</title>
  <link rel="stylesheet" href="../../layui/css/layui.css">
</head>
<body class="layui-layout-body">
	<form class="layui-form" action="">
	  <div class="layui-form-item">
			<label class="layui-form-label">软件名称</label>
			<div class="layui-input-inline">
			  <input type="text" name="querySoftwareName" placeholder="请输入标题" autocomplete="off" class="layui-input">
			</div>
			<label class="layui-form-label">软件状态</label>
			<div class="layui-input-inline">
			  <select name="queryStatus" lay-verify="">
			  </select>   
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">一级分类</label>
			<div class="layui-input-inline">
			  <select name="queryCategoryLevel1" lay-filter="queryCategoryLevel1" lay-verify="">
			  </select>   
			</div>
			<label class="layui-form-label">二级分类</label>
			<div class="layui-input-inline">
			  <select name="queryCategoryLevel2" lay-filter="queryCategoryLevel2" lay-verify="">
			  </select>   
			</div>
			<label class="layui-form-label">三级分类</label>
			<div class="layui-input-inline">
			  <select name="queryCategoryLevel3" lay-filter="queryCategoryLevel3" lay-verify="">
			  </select>   
			</div>
		</div>
		  <div class="layui-form-item">
		    <div class="layui-input-block">
		      <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
		      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
		    </div>
		  </div>
	</form>

  <table id="demo" lay-filter="dataTable"></table>
<!-- 表格行toolbar模板 -->
<script id="tb" type="text/html">
    <button class="layui-btn layui-btn-xs" lay-filter="ft{{d.id}}" 
	lay-dropdown="{align:'right', 
	menus: [
		{{#  if(d.status == 1 || d.status == 3 || d.status == 5){ }}
		  {layIcon:'layui-icon-subtraction',txt: '删除', event:'{{d.id}}-del'}, 
		{{#  } }}
		{{#  if(d.status == 4){ }}
		  {layIcon:'layui-icon-down',txt: '下架', event:'{{d.id}}-offsale'}, 
		{{#  } }}
		{{#  if(d.status == 2 || d.status == 5){ }}
		  {layIcon:'layui-icon-up',txt: '上架', event:'{{d.id}}-onsale'}, 
		{{#  } }}
		{layIcon:'layui-icon-username',txt: '详细信息', event:'{{d.id}}-detail'}, 
		{layIcon: 'layui-icon-set',txt: '开通会员', event:'{{d.id}}-openvip'}, 
		{layIcon: 'layui-icon-home', txt: '删除账户', event:'{{d.id}}-deleteaccount'}
		]}">
        <span>操作</span>
        <i class="layui-icon layui-icon-triangle-d"></i>
    </button>
</script>
<script src="../../layui/layui.js"></script>
<script src="../../js/common.js"></script>
<script src="../../js/login-controll.js"></script>
<script src="../../js/dev/list.js"></script>
<script>

</script>
</body>
</html>